package net.forty2ware.vintagesofa

class DocumentSet {
  def documents = [] as Set

  def updateAll() {
    // bulk update logic:
    //    http://wiki.apache.org/couchdb/HTTP_Document_API
    // see "Modify Multiple Documents With a Single Request"
  }

  def deleteAll() {
    documents.each{ it.delete() }
  }

}
